import { http } from '@/http/http'

export interface IBannerItem {
  id: number
  title: string
}
/** GET 请求 */
export function getBannerAPI(page?: number) {
  return http.get<IBannerItem>('/content_list', { page, type: 'SHOP_BANNER' })
}